package com.lqf.compare.mysql.model;

import lombok.Data;
import java.util.List;

@Data
public class IndexInfo {
    private String indexName;
    private String indexType; // PRIMARY, UNIQUE, INDEX, FULLTEXT
    private String indexMethod; // BTREE, HASH, etc.
    private boolean nonUnique;
    private List<String> columnNames;
    private List<String> columnOrders; // ASC, DESC
    
    // 差异标记字段
    private boolean hasDifference = false;
    private String differenceType = ""; // "missing_in_db1", "missing_in_db2", "attribute_diff"
}
